package org.dromara.manu.domain.vo;

import org.dromara.manu.domain.ManuKpiMaster;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 主数据视图对象 manu_kpi_master
 *
 * @author Bin Liu
 * @date 2024-08-23
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = ManuKpiMaster.class)
public class ManuKpiMasterVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ExcelProperty(value = "主键")
    private Long id;

    /**
     * 名称
     */
    @ExcelProperty(value = "名称")
    private String name;

    /**
     * 简述
     */
    @ExcelProperty(value = "简述")
    private String description;

    /**
     * 数据类别
     */
    @ExcelProperty(value = "数据类别", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "manu_kpi_data_category")
    private String category;

    /**
     * 数据类型
     */
    @ExcelProperty(value = "数据类型", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "kpi_factor_category")
    private String dataCategory;

    /**
     * 范围
     */
    @ExcelProperty(value = "范围", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "manu_kpi_scope")
    private String scope;

    /**
     * 是否按年更新
     */
    @ExcelProperty(value = "是否按年更新")
    private Boolean byAnnual;

    /**
     * 是否按月更新
     */
    @ExcelProperty(value = "是否按月更新")
    private Boolean byMonth;

    /**
     * 是否按周更新
     */
    @ExcelProperty(value = "是否按周更新")
    private Boolean byWeek;

    /**
     * 是否按天更新
     */
    @ExcelProperty(value = "是否按天更新")
    private Boolean byDaily;

    /**
     * 是否按班更新
     */
    @ExcelProperty(value = "是否按班更新")
    private Boolean byShift;

    /**
     * 配置串
     */
    @ExcelProperty(value = "配置串")
    private String screCode;


}
